package com.car.service.custormer;


import com.car.entity.Custormer;

import java.util.List;
import java.util.Map;

public interface CustormerCreditReportService {

    /**
     * 查询所有得客户
     *
     * @param map
     * @return
     */
    List<Custormer> getAllCustomer(Map<String, Object> map);

    /**
     * 查询总条数
     *
     * @param map
     * @return
     */
    Integer getAllCustomerCount(Map<String, Object> map);

    /**
     * 根据id获取
     *
     * @param custormerId
     * @return
     */
    Custormer getCustomerById(int custormerId);


    /**
     * 修改信用值
     *
     * @param custormer
     * @return
     */
    Integer updateCustomerCredit(Custormer custormer);
}
